import request from '@/utils/request.js'
const PATH = '/user/testExam'

// 查询所有启动的测试分类
export const getTestCategoryAll = () => {
  return request.get(PATH + '/getTestCategoryAll')
}

// 查询所有启动的测试
export const getTestExamAll = ({ page, pageSize, testCategoryId }) => {
  return request.get(PATH + '/pageQuery', {
    params: {
      page,
      pageSize,
      testCategoryId
    }
  })
}
